<template>
  <div class="box">
    <h1>Child num:{{num}}</h1>
  </div>
</template>

<script>
export default {
    name:'Child',
    data() {
      return {
        num:0
      }
    },
}
</script>

<style scoped>
    .box{
        background: yellowgreen;
    }
</style>